﻿using TUnit.Core;

namespace TUnit.Engine.Json;

internal record TestResultJson
{
    public required TestState Status { get; init; }
    public required DateTimeOffset? Start { get; init; }
    public required DateTimeOffset? End { get; init; }
    public required TimeSpan? Duration { get; init; }
    public required ExceptionJson? Exception { get; init; }
    public required string ComputerName { get; init; }
    public required string? Output { get; init; }
}
